package com.da.javatest.niuke.baodian;

/**
 * @author chenlida
 * @date 2020/10/18 10:55
 * https://www.nowcoder.com/practice/917a800d4de1423394827932f4725c68?tpId=8&tags=&title=&diffculty=0&judgeStatus=0&rp=1
 */
public class C78Substr {
    public boolean[] chkSubStr(String[] p, int n, String s) {
        boolean[] data = new boolean[n];
        for (int i = 0; i < p.length; i++) {
            data[i] = s.contains(p[i]);
        }
        return data;
    }
}
